home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / c80tcog.lbr / DPB.H < prev    next >
Text File  |  1985-08-09  |  512b  |  16 lines

  1. /* dpb.h - C declarations for the CP/M disk parameter block */
  2.  
  3. struct dpb {            /* CP/M DPB entry    */
  4.     uns spt        /* records per track        */;
  5.     char bsh    /* block shift            */;
  6.     char blm    /* block mask            */;
  7.     char exm    /* logical extent vs. physical    */;
  8.     uns dsm        /* highest block #        */;
  9.     uns drm        /* highest directory #        */;
  10.     uns alv        /* bits reserving directory blocks */;
  11.     uns cks        /* size of check vector in bytes */;
  12.     uns off        /* number of reserved tracks     */;
  13.     };
  14.  
  15. #define DPB_SIZE sizeof(struct dpb)
  16.